package cn.baiweigang.uu.msg;

import cn.baiweigang.uu.model.PositionInfo;
import org.springframework.context.ApplicationEvent;

/**
 * 仓位变动
 */
public class PositionChangeEvent extends ApplicationEvent {
    private PositionInfo positionInfo;

    public PositionChangeEvent(Object source, PositionInfo positionInfo) {
        super(source);
        this.positionInfo = positionInfo;
    }

    public PositionInfo getPositionInfo() {
        return positionInfo;
    }

    public void setPositionInfo(PositionInfo positionInfo) {
        this.positionInfo = positionInfo;
    }
}
